Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Gradient Color Record

The GradientColorRecord structure specifies a color used in a gradient. For more information about gradients, see "Gradients for Path Fills" .

struct GradientColorRecord {
    ARGBColor               thisColor;
    Fixed                   endingPercentage;
};
typedef struct GradientColorRecord GradientColorRecord;
typedef GradientColorRecord *GradientColorPtr;

Field descriptions

thisColor
Specifies a color used for a gradient.

endingPercentage
Specifies the percentage of the gradient (expressed as value between 0 and 1 , where 0 is the beginning of the gradient) at which the specified color begins.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |